﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteLayout.Master" AutoEventWireup="true" CodeBehind="mycars.aspx.cs" Inherits="carportal.mycars" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
     <script type="text/javascript">

         $(document).ready(function () {
             document.body.id = "page2";
         }); 
	</script>  </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:bestgifts4usConnectionString %>" 
        
        
        
        SelectCommand="SELECT carportal_cars.id, carportal_cars.user_id, carportal_cars.make, carportal_cars.model, carportal_cars.model_by_user, carportal_cars.car_type, carportal_cars.engine_power, carportal_cars.first_reg_date, carportal_cars.millage_km, carportal_cars.fuel_type, carportal_cars.gearbox, carportal_cars.price, carportal_cars.country_code, carportal_cars.location_city, carportal_cars.climate_control, carportal_cars.seat_count, carportal_cars.color, carportal_cars.door_count, carportal_cars.Auxiliary_heating, carportal_cars.Central_locking, carportal_cars.Cruise_control, carportal_cars.Electric_heated, carportal_cars.Electric_windows, carportal_cars.Leather_seats, carportal_cars.Parking_sensors, carportal_cars.Power_Steering, carportal_cars.Sunroof, carportal_cars.Four_wheel_drive, carportal_cars.Immobilizer, carportal_cars.Xenon_headlights, carportal_cars.ABS, carportal_cars.ESP, carportal_cars.user_comments, carportal_make.make_name, carportal_model.model AS model_name, carportal_countries.countryname, carportal_vehicletypes.vehicletype, carportal_users.user_phone, carportal_users.user_address, aspnet_Membership.Email FROM carportal_cars INNER JOIN carportal_make ON carportal_cars.make = carportal_make.id INNER JOIN carportal_model ON carportal_cars.model = carportal_model.id INNER JOIN carportal_countries ON carportal_cars.country_code = carportal_countries.id INNER JOIN carportal_vehicletypes ON carportal_cars.car_type = carportal_vehicletypes.id INNER JOIN carportal_users ON carportal_users.user_id = carportal_cars.user_id INNER JOIN aspnet_Membership ON carportal_users.membership_uniqid = aspnet_Membership.UserId WHERE (carportal_cars.user_id = @user_id)">
        <SelectParameters>
            <asp:SessionParameter Name="user_id" SessionField="UserID" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource><br />
    <div class="grid_9">
    <div class="box-2">

    <asp:ListView ID="ListView1" runat="server" DataKeyNames="id" 
        DataSourceID="SqlDataSource1">
      
       
      
        <EditItemTemplate>
            <span style="">id:
            <asp:Label ID="idLabel1" runat="server" Text='<%# Eval("id") %>' />
            <br />
            user_id:
            <asp:TextBox ID="user_idTextBox" runat="server" Text='<%# Bind("user_id") %>' />
            <br />
            make:
            <asp:TextBox ID="makeTextBox" runat="server" Text='<%# Bind("make") %>' />
            <br />
            model:
            <asp:TextBox ID="modelTextBox" runat="server" Text='<%# Bind("model") %>' />
            <br />
            model_by_user:
            <asp:TextBox ID="model_by_userTextBox" runat="server" 
                Text='<%# Bind("model_by_user") %>' />
            <br />
            car_type:
            <asp:TextBox ID="car_typeTextBox" runat="server" 
                Text='<%# Bind("car_type") %>' />
            <br />
            engine_power:
            <asp:TextBox ID="engine_powerTextBox" runat="server" 
                Text='<%# Bind("engine_power") %>' />
            <br />
            first_reg_date:
            <asp:TextBox ID="first_reg_dateTextBox" runat="server" 
                Text='<%# Bind("first_reg_date") %>' />
            <br />
            millage_km:
            <asp:TextBox ID="millage_kmTextBox" runat="server" 
                Text='<%# Bind("millage_km") %>' />
            <br />
            fuel_type:
            <asp:TextBox ID="fuel_typeTextBox" runat="server" 
                Text='<%# Bind("fuel_type") %>' />
            <br />
            gearbox:
            <asp:TextBox ID="gearboxTextBox" runat="server" Text='<%# Bind("gearbox") %>' />
            <br />
            price:
            <asp:TextBox ID="priceTextBox" runat="server" Text='<%# Bind("price") %>' />
            <br />
            country_code:
            <asp:TextBox ID="country_codeTextBox" runat="server" 
                Text='<%# Bind("country_code") %>' />
            <br />
            location_city:
            <asp:TextBox ID="location_cityTextBox" runat="server" 
                Text='<%# Bind("location_city") %>' />
            <br />
            climate_control:
            <asp:TextBox ID="climate_controlTextBox" runat="server" 
                Text='<%# Bind("climate_control") %>' />
            <br />
            seat_count:
            <asp:TextBox ID="seat_countTextBox" runat="server" 
                Text='<%# Bind("seat_count") %>' />
            <br />
            color:
            <asp:TextBox ID="colorTextBox" runat="server" Text='<%# Bind("color") %>' />
            <br />
            door_count:
            <asp:TextBox ID="door_countTextBox" runat="server" 
                Text='<%# Bind("door_count") %>' />
            <br />
            <asp:CheckBox ID="Auxiliary_heatingCheckBox" runat="server" 
                Checked='<%# Bind("Auxiliary_heating") %>' Text="Auxiliary_heating" />
            <br />
            <asp:CheckBox ID="Central_lockingCheckBox" runat="server" 
                Checked='<%# Bind("Central_locking") %>' Text="Central_locking" />
            <br />
            <asp:CheckBox ID="Cruise_controlCheckBox" runat="server" 
                Checked='<%# Bind("Cruise_control") %>' Text="Cruise_control" />
            <br />
            <asp:CheckBox ID="Electric_heatedCheckBox" runat="server" 
                Checked='<%# Bind("Electric_heated") %>' Text="Electric_heated" />
            <br />
            <asp:CheckBox ID="Electric_windowsCheckBox" runat="server" 
                Checked='<%# Bind("Electric_windows") %>' Text="Electric_windows" />
            <br />
            <asp:CheckBox ID="Leather_seatsCheckBox" runat="server" 
                Checked='<%# Bind("Leather_seats") %>' Text="Leather_seats" />
            <br />
            <asp:CheckBox ID="Parking_sensorsCheckBox" runat="server" 
                Checked='<%# Bind("Parking_sensors") %>' Text="Parking_sensors" />
            <br />
            <asp:CheckBox ID="Power_SteeringCheckBox" runat="server" 
                Checked='<%# Bind("Power_Steering") %>' Text="Power_Steering" />
            <br />
            <asp:CheckBox ID="SunroofCheckBox" runat="server" 
                Checked='<%# Bind("Sunroof") %>' Text="Sunroof" />
            <br />
            <asp:CheckBox ID="Four_wheel_driveCheckBox" runat="server" 
                Checked='<%# Bind("Four_wheel_drive") %>' Text="Four_wheel_drive" />
            <br />
            <asp:CheckBox ID="ImmobilizerCheckBox" runat="server" 
                Checked='<%# Bind("Immobilizer") %>' Text="Immobilizer" />
            <br />
            <asp:CheckBox ID="Xenon_headlightsCheckBox" runat="server" 
                Checked='<%# Bind("Xenon_headlights") %>' Text="Xenon_headlights" />
            <br />
            <asp:CheckBox ID="ABSCheckBox" runat="server" Checked='<%# Bind("ABS") %>' 
                Text="ABS" />
            <br />
            <asp:CheckBox ID="ESPCheckBox" runat="server" Checked='<%# Bind("ESP") %>' 
                Text="ESP" />
            <br />
            user_comments:
            <asp:TextBox ID="user_commentsTextBox" runat="server" 
                Text='<%# Bind("user_comments") %>' />
            <br />
            make_name:
            <asp:TextBox ID="make_nameTextBox" runat="server" 
                Text='<%# Bind("make_name") %>' />
            <br />
            model_name:
            <asp:TextBox ID="model_nameTextBox" runat="server" 
                Text='<%# Bind("model_name") %>' />
            <br />
            countryname:
            <asp:TextBox ID="countrynameTextBox" runat="server" 
                Text='<%# Bind("countryname") %>' />
            <br />
            vehicletype:
            <asp:TextBox ID="vehicletypeTextBox" runat="server" 
                Text='<%# Bind("vehicletype") %>' />
            <br />
            user_phone:
            <asp:TextBox ID="user_phoneTextBox" runat="server" 
                Text='<%# Bind("user_phone") %>' />
            <br />
            user_address:
            <asp:TextBox ID="user_addressTextBox" runat="server" 
                Text='<%# Bind("user_address") %>' />
            <br />
            Email:
            <asp:TextBox ID="EmailTextBox" runat="server" Text='<%# Bind("Email") %>' />
            <br />
            <asp:Button ID="UpdateButton" runat="server" CommandName="Update" 
                Text="Update" />
            <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" 
                Text="Cancel" />
            <br />
            <br />
            </span>
        </EditItemTemplate>
        <EmptyDataTemplate>
            <span>No data was returned.</span>
        </EmptyDataTemplate>
        <InsertItemTemplate>
            <span style="">user_id:
            <asp:TextBox ID="user_idTextBox" runat="server" Text='<%# Bind("user_id") %>' />
            <br />
            make:
            <asp:TextBox ID="makeTextBox" runat="server" Text='<%# Bind("make") %>' />
            <br />
            model:
            <asp:TextBox ID="modelTextBox" runat="server" Text='<%# Bind("model") %>' />
            <br />
            model_by_user:
            <asp:TextBox ID="model_by_userTextBox" runat="server" 
                Text='<%# Bind("model_by_user") %>' />
            <br />
            car_type:
            <asp:TextBox ID="car_typeTextBox" runat="server" 
                Text='<%# Bind("car_type") %>' />
            <br />
            engine_power:
            <asp:TextBox ID="engine_powerTextBox" runat="server" 
                Text='<%# Bind("engine_power") %>' />
            <br />
            first_reg_date:
            <asp:TextBox ID="first_reg_dateTextBox" runat="server" 
                Text='<%# Bind("first_reg_date") %>' />
            <br />
            millage_km:
            <asp:TextBox ID="millage_kmTextBox" runat="server" 
                Text='<%# Bind("millage_km") %>' />
            <br />
            fuel_type:
            <asp:TextBox ID="fuel_typeTextBox" runat="server" 
                Text='<%# Bind("fuel_type") %>' />
            <br />
            gearbox:
            <asp:TextBox ID="gearboxTextBox" runat="server" Text='<%# Bind("gearbox") %>' />
            <br />
            price:
            <asp:TextBox ID="priceTextBox" runat="server" Text='<%# Bind("price") %>' />
            <br />
            country_code:
            <asp:TextBox ID="country_codeTextBox" runat="server" 
                Text='<%# Bind("country_code") %>' />
            <br />
            location_city:
            <asp:TextBox ID="location_cityTextBox" runat="server" 
                Text='<%# Bind("location_city") %>' />
            <br />
            climate_control:
            <asp:TextBox ID="climate_controlTextBox" runat="server" 
                Text='<%# Bind("climate_control") %>' />
            <br />
            seat_count:
            <asp:TextBox ID="seat_countTextBox" runat="server" 
                Text='<%# Bind("seat_count") %>' />
            <br />
            color:
            <asp:TextBox ID="colorTextBox" runat="server" Text='<%# Bind("color") %>' />
            <br />
            door_count:
            <asp:TextBox ID="door_countTextBox" runat="server" 
                Text='<%# Bind("door_count") %>' />
            <br />
            <asp:CheckBox ID="Auxiliary_heatingCheckBox" runat="server" 
                Checked='<%# Bind("Auxiliary_heating") %>' Text="Auxiliary_heating" />
            <br />
            <asp:CheckBox ID="Central_lockingCheckBox" runat="server" 
                Checked='<%# Bind("Central_locking") %>' Text="Central_locking" />
            <br />
            <asp:CheckBox ID="Cruise_controlCheckBox" runat="server" 
                Checked='<%# Bind("Cruise_control") %>' Text="Cruise_control" />
            <br />
            <asp:CheckBox ID="Electric_heatedCheckBox" runat="server" 
                Checked='<%# Bind("Electric_heated") %>' Text="Electric_heated" />
            <br />
            <asp:CheckBox ID="Electric_windowsCheckBox" runat="server" 
                Checked='<%# Bind("Electric_windows") %>' Text="Electric_windows" />
            <br />
            <asp:CheckBox ID="Leather_seatsCheckBox" runat="server" 
                Checked='<%# Bind("Leather_seats") %>' Text="Leather_seats" />
            <br />
            <asp:CheckBox ID="Parking_sensorsCheckBox" runat="server" 
                Checked='<%# Bind("Parking_sensors") %>' Text="Parking_sensors" />
            <br />
            <asp:CheckBox ID="Power_SteeringCheckBox" runat="server" 
                Checked='<%# Bind("Power_Steering") %>' Text="Power_Steering" />
            <br />
            <asp:CheckBox ID="SunroofCheckBox" runat="server" 
                Checked='<%# Bind("Sunroof") %>' Text="Sunroof" />
            <br />
            <asp:CheckBox ID="Four_wheel_driveCheckBox" runat="server" 
                Checked='<%# Bind("Four_wheel_drive") %>' Text="Four_wheel_drive" />
            <br />
            <asp:CheckBox ID="ImmobilizerCheckBox" runat="server" 
                Checked='<%# Bind("Immobilizer") %>' Text="Immobilizer" />
            <br />
            <asp:CheckBox ID="Xenon_headlightsCheckBox" runat="server" 
                Checked='<%# Bind("Xenon_headlights") %>' Text="Xenon_headlights" />
            <br />
            <asp:CheckBox ID="ABSCheckBox" runat="server" Checked='<%# Bind("ABS") %>' 
                Text="ABS" />
            <br />
            <asp:CheckBox ID="ESPCheckBox" runat="server" Checked='<%# Bind("ESP") %>' 
                Text="ESP" />
            <br />
            user_comments:
            <asp:TextBox ID="user_commentsTextBox" runat="server" 
                Text='<%# Bind("user_comments") %>' />
            <br />
            make_name:
            <asp:TextBox ID="make_nameTextBox" runat="server" 
                Text='<%# Bind("make_name") %>' />
            <br />
            model_name:
            <asp:TextBox ID="model_nameTextBox" runat="server" 
                Text='<%# Bind("model_name") %>' />
            <br />
            countryname:
            <asp:TextBox ID="countrynameTextBox" runat="server" 
                Text='<%# Bind("countryname") %>' />
            <br />
            vehicletype:
            <asp:TextBox ID="vehicletypeTextBox" runat="server" 
                Text='<%# Bind("vehicletype") %>' />
            <br />
            user_phone:
            <asp:TextBox ID="user_phoneTextBox" runat="server" 
                Text='<%# Bind("user_phone") %>' />
            <br />
            user_address:
            <asp:TextBox ID="user_addressTextBox" runat="server" 
                Text='<%# Bind("user_address") %>' />
            <br />
            Email:
            <asp:TextBox ID="EmailTextBox" runat="server" Text='<%# Bind("Email") %>' />
            <br />
            <asp:Button ID="InsertButton" runat="server" CommandName="Insert" 
                Text="Insert" />
            <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" 
                Text="Clear" />
            <br />
            <br />
            </span>
        </InsertItemTemplate>
       <ItemTemplate>
            <td>
            
                            	<h3  class="light1"> &nbsp;&nbsp;<%# Eval("make_name")%>&nbsp;&nbsp; <%# Eval("model_name")%></h3>
                                <div class="box-4-container">
                                	<div class="slider" style="z-index: 1; overflow-x: hidden; overflow-y: hidden; ">
                                        <ul class="items">
                                            <li style="display: none; "><img id="mainimg" src='<%# "UploadImages/"+ Eval("id")+   "_001.jpg" %>' alt="">
                                            	
                                       		</li>
                                            
                                        </ul>
                                        
                                    <div id="mianpic" class="pic" style="overflow-x: hidden; overflow-y: hidden; width: 384px; height: 279px; background-image: url('<%# "UploadImages/"+ Eval("id")+   "_001.jpg" %>' ); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: 0px 0px; background-repeat: no-repeat no-repeat; "><div class="mask"></div></div><div class="banner" style="z-index: 999; display: block; ">
                                            	<div class="banner-padd">
                                                	<div class="wrapper mt-5">
                                                    	<span>Car ID:</span>
                                                        <strong><%# Eval("id")%></strong>
                                                    </div>
                                                    <div class="wrapper">
                                                    	<span>Body Style:</span>
                                                        <strong><%# Eval("vehicletype")%></strong>
                                                    </div>
                                                    <div class="wrapper">
                                                    	<span>Year of Manufacture:</span>
                                                        <strong><%# Eval("first_reg_date")%></strong>
                                                    </div>
                                                    <div class="wrapper">
                                                    	<span>Mileage (Kms Done):</span>
                                                        <strong><%# Eval("millage_km")%></strong>
                                                    </div>
                                                    <div class="wrapper">
                                                    	<span>Colour:</span>
                                                        <strong><%# Eval("color")%></strong>
                                                    </div>
                                                    <div class="wrapper">
                                                    	<span>Price:</span>
                                                        <strong>$ <%# Eval("price")%></strong>
                                                    </div> 
                                                    <div class="wrapper">
                                                    	<span>Transmission:</span>
                                                        <strong><%# Eval("gearbox")%></strong>
                                                    </div>
                                                    <div class="wrapper">
                                                    	<span>Fuel:</span>
                                                        <strong><%# Eval("fuel_type")%></strong>
                                                    </div><br />
                                                     <div class="wrapper">
                                                    	<span><strong>Description:</strong></span>
                                                    </div>
                                                    <asp:TextBox id="TextBox1" Text='<%# Eval("user_comments") %>'  runat="server" TextMode="MultiLine" Width="200" Visible="True" Height="91"></asp:TextBox> 
                                                    
                                                </div>
                                           	</div></div>

                                    <div class="pag" style="width: 700px;">
                                        <div class="img-pags1" style="position: relative; width: 730px; height: 74px; overflow-x: hidden; overflow-y: hidden; ">
                                          <ul style="position: relative; width: 550px; height: 74px; " class="pagination">
                                            <li style="display: block; position: absolute; left: 0px; top: 0px; " class="active current"><a href="#"><img src="<%# "UploadImages/"+ Eval("id")+   "_001.jpg" %>"  onclick="Javascript:changeimg('<%# "UploadImages/"+ Eval("id")+   "_001.jpg" %>');" alt="" width="98" height="74"></a></li>
                                            <li style="display: block; position: absolute; left: 110px; top: 0px; "><a href="#"><img src="<%# "UploadImages/"+ Eval("id")+   "_002.jpg" %>" onclick="Javascript:changeimg('<%# "UploadImages/"+ Eval("id")+   "_002.jpg" %>');"alt="" width="98" height="74"></a></li>
                                            <li style="display: block; position: absolute; left: 220px; top: 0px; "><a href="#"><img src="<%# "UploadImages/"+ Eval("id")+   "_003.jpg" %>" onclick="Javascript:changeimg('<%# "UploadImages/"+ Eval("id")+   "_003.jpg" %>');" alt="" width="98" height="74"></a></li>
                                            <li style="display: block; position: absolute; left: 330px; top: 0px; "><a href="#"><img src="<%# "UploadImages/"+ Eval("id")+   "_004.jpg" %>" onclick="Javascript:changeimg('<%# "UploadImages/"+ Eval("id")+   "_004.jpg" %>');" alt="" width="98" height="74"></a></li>
                                            <li style="display: block; position: absolute; left: 440px; top: 0px; "><a href="#"><img src="<%# "UploadImages/"+ Eval("id")+   "_005.jpg" %>" onclick="Javascript:changeimg('<%# "UploadImages/"+ Eval("id")+   "_005.jpg" %>');"alt="" width="98" height="74"></a></li>
                                          </ul>  
                                        </div>								
                                        <a href="#" class="but button1" data-type="prevPage">&lt;</a>
                                        <a href="#" class="but button2" data-type="nextPage">&gt;</a>
                                    </div>
                                    <strong class="block color-6">Features &amp; Accessories:</strong>
                                    <div class="wrapper mb10">
                                    	<div class="col-2 spacer-1">
                                        	<ul class="list-4">
                                                <asp:PlaceHolder runat="server" Visible='<%# Eval("Auxiliary_heating") %>'><li><a href="#"><span></span>Auxiliary Heating</a></li></asp:PlaceHolder>
                                                <asp:PlaceHolder runat="server" Visible='<%# Eval("Central_locking") %>'><li><a href="#"><span></span>Central Locking</a></li></asp:PlaceHolder>
                                                <asp:PlaceHolder runat="server" Visible='<%# Eval("Cruise_control") %>'><li><a href="#"><span></span>Cruise Control</a></li></asp:PlaceHolder>
                                                <asp:PlaceHolder runat="server" Visible='<%# Eval("Electric_heated") %>'><li><a href="#"><span></span>Electric Heated</a></li></asp:PlaceHolder>
                                            </ul>
                                        </div>
                                        <div class="col-2 spacer-2">
                                        	<ul class="list-4">
                                                <asp:PlaceHolder runat="server" Visible='<%# Eval("Electric_windows") %>'><li><a href="#"><span></span>Electric Windows</a></li></asp:PlaceHolder>
                                                <asp:PlaceHolder runat="server" Visible='<%# Eval("Leather_seats") %>'><li><a href="#"><span></span>Leather Seats</a></li></asp:PlaceHolder>
                                                <asp:PlaceHolder runat="server" Visible='<%# Eval("Parking_sensors") %>'><li><a href="#"><span></span>Parking Sensors</a></li></asp:PlaceHolder>
                                                <asp:PlaceHolder runat="server" Visible='<%# Eval("Power_Steering") %>'><li><a href="#"><span></span>Power Steering</a></li></asp:PlaceHolder>
                                               </ul>
                                        </div>
                                        <div class="col-2 spacer-3">
                                        	<ul class="list-4">
                                                <asp:PlaceHolder runat="server" Visible='<%# Eval("Sunroof") %>'><li><a href="#"><span></span>Sunroof</a></li></asp:PlaceHolder>
                                                <asp:PlaceHolder runat="server" Visible='<%# Eval("Immobilizer") %>'><li><a href="#"><span></span>Immobilizer</a></li></asp:PlaceHolder>
                                                <asp:PlaceHolder runat="server" Visible='<%# Eval("Xenon_headlights") %>'><li><a href="#"><span></span>Xenon Headlights</a></li></asp:PlaceHolder>
                                                <asp:PlaceHolder runat="server" Visible='<%# Eval("ABS") %>'><li><a href="#"><span></span>ABS</a></li></asp:PlaceHolder>
                                          </ul>
                                        </div>
                                        <div class="col-3">
                                        	<ul class="list-4">
                                                <asp:PlaceHolder runat="server" Visible='<%# Eval("ESP") %>'><li><a href="#"><span></span>ESP</a></li></asp:PlaceHolder>
                                             </ul>
                                        </div>
                                    </div>
                                    <strong class="block color-6">Contact seller with any questions:</strong>
                                    <div class="wrapper">
                                    	<div class="width-1 width-1-ind">
                                            <span class="block">Telephone: &nbsp; &nbsp; <%# Eval("user_phone")%></span>
                                        </div>
                                        <div class="width-1">
                                        	<span class="block">E-mail: &nbsp; &nbsp; &nbsp;<a href="#" class="color-3"><%# Eval("Email")%></a></span></div>
                                    </div>	<br />
                                    <div><a href="">Remove</a></div>
                                </div>  
                <br />
            </td>
        </ItemTemplate>
        <LayoutTemplate>
            <div ID="itemPlaceholderContainer" runat="server" style="width:730px">
                <span runat="server" id="itemPlaceholder" />
            </div>
            <div style="">
                <asp:DataPager ID="DataPager1" runat="server">
                    <Fields>
                        <asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True" 
                            ShowNextPageButton="False" ShowPreviousPageButton="False" />
                        <asp:NumericPagerField />
                        <asp:NextPreviousPagerField ButtonType="Button" ShowLastPageButton="True" 
                            ShowNextPageButton="False" ShowPreviousPageButton="False" />
                    </Fields>
                </asp:DataPager>
            </div>
        </LayoutTemplate>
        <SelectedItemTemplate>
            <span style="">id:
            <asp:Label ID="idLabel" runat="server" Text='<%# Eval("id") %>' />
            <br />
            user_id:
            <asp:Label ID="user_idLabel" runat="server" Text='<%# Eval("user_id") %>' />
            <br />
            make:
            <asp:Label ID="makeLabel" runat="server" Text='<%# Eval("make") %>' />
            <br />
            model:
            <asp:Label ID="modelLabel" runat="server" Text='<%# Eval("model") %>' />
            <br />
            model_by_user:
            <asp:Label ID="model_by_userLabel" runat="server" 
                Text='<%# Eval("model_by_user") %>' />
            <br />
            car_type:
            <asp:Label ID="car_typeLabel" runat="server" Text='<%# Eval("car_type") %>' />
            <br />
            engine_power:
            <asp:Label ID="engine_powerLabel" runat="server" 
                Text='<%# Eval("engine_power") %>' />
            <br />
            first_reg_date:
            <asp:Label ID="first_reg_dateLabel" runat="server" 
                Text='<%# Eval("first_reg_date") %>' />
            <br />
            millage_km:
            <asp:Label ID="millage_kmLabel" runat="server" 
                Text='<%# Eval("millage_km") %>' />
            <br />
            fuel_type:
            <asp:Label ID="fuel_typeLabel" runat="server" Text='<%# Eval("fuel_type") %>' />
            <br />
            gearbox:
            <asp:Label ID="gearboxLabel" runat="server" Text='<%# Eval("gearbox") %>' />
            <br />
            price:
            <asp:Label ID="priceLabel" runat="server" Text='<%# Eval("price") %>' />
            <br />
            country_code:
            <asp:Label ID="country_codeLabel" runat="server" 
                Text='<%# Eval("country_code") %>' />
            <br />
            location_city:
            <asp:Label ID="location_cityLabel" runat="server" 
                Text='<%# Eval("location_city") %>' />
            <br />
            climate_control:
            <asp:Label ID="climate_controlLabel" runat="server" 
                Text='<%# Eval("climate_control") %>' />
            <br />
            seat_count:
            <asp:Label ID="seat_countLabel" runat="server" 
                Text='<%# Eval("seat_count") %>' />
            <br />
            color:
            <asp:Label ID="colorLabel" runat="server" Text='<%# Eval("color") %>' />
            <br />
            door_count:
            <asp:Label ID="door_countLabel" runat="server" 
                Text='<%# Eval("door_count") %>' />
            <br />
            <asp:CheckBox ID="Auxiliary_heatingCheckBox" runat="server" 
                Checked='<%# Eval("Auxiliary_heating") %>' Enabled="false" 
                Text="Auxiliary_heating" />
            <br />
            <asp:CheckBox ID="Central_lockingCheckBox" runat="server" 
                Checked='<%# Eval("Central_locking") %>' Enabled="false" 
                Text="Central_locking" />
            <br />
            <asp:CheckBox ID="Cruise_controlCheckBox" runat="server" 
                Checked='<%# Eval("Cruise_control") %>' Enabled="false" Text="Cruise_control" />
            <br />
            <asp:CheckBox ID="Electric_heatedCheckBox" runat="server" 
                Checked='<%# Eval("Electric_heated") %>' Enabled="false" 
                Text="Electric_heated" />
            <br />
            <asp:CheckBox ID="Electric_windowsCheckBox" runat="server" 
                Checked='<%# Eval("Electric_windows") %>' Enabled="false" 
                Text="Electric_windows" />
            <br />
            <asp:CheckBox ID="Leather_seatsCheckBox" runat="server" 
                Checked='<%# Eval("Leather_seats") %>' Enabled="false" Text="Leather_seats" />
            <br />
            <asp:CheckBox ID="Parking_sensorsCheckBox" runat="server" 
                Checked='<%# Eval("Parking_sensors") %>' Enabled="false" 
                Text="Parking_sensors" />
            <br />
            <asp:CheckBox ID="Power_SteeringCheckBox" runat="server" 
                Checked='<%# Eval("Power_Steering") %>' Enabled="false" Text="Power_Steering" />
            <br />
            <asp:CheckBox ID="SunroofCheckBox" runat="server" 
                Checked='<%# Eval("Sunroof") %>' Enabled="false" Text="Sunroof" />
            <br />
            <asp:CheckBox ID="Four_wheel_driveCheckBox" runat="server" 
                Checked='<%# Eval("Four_wheel_drive") %>' Enabled="false" 
                Text="Four_wheel_drive" />
            <br />
            <asp:CheckBox ID="ImmobilizerCheckBox" runat="server" 
                Checked='<%# Eval("Immobilizer") %>' Enabled="false" Text="Immobilizer" />
            <br />
            <asp:CheckBox ID="Xenon_headlightsCheckBox" runat="server" 
                Checked='<%# Eval("Xenon_headlights") %>' Enabled="false" 
                Text="Xenon_headlights" />
            <br />
            <asp:CheckBox ID="ABSCheckBox" runat="server" Checked='<%# Eval("ABS") %>' 
                Enabled="false" Text="ABS" />
            <br />
            <asp:CheckBox ID="ESPCheckBox" runat="server" Checked='<%# Eval("ESP") %>' 
                Enabled="false" Text="ESP" />
            <br />
            user_comments:
            <asp:Label ID="user_commentsLabel" runat="server" 
                Text='<%# Eval("user_comments") %>' />
            <br />
            make_name:
            <asp:Label ID="make_nameLabel" runat="server" Text='<%# Eval("make_name") %>' />
            <br />
            model_name:
            <asp:Label ID="model_nameLabel" runat="server" 
                Text='<%# Eval("model_name") %>' />
            <br />
            countryname:
            <asp:Label ID="countrynameLabel" runat="server" 
                Text='<%# Eval("countryname") %>' />
            <br />
            vehicletype:
            <asp:Label ID="vehicletypeLabel" runat="server" 
                Text='<%# Eval("vehicletype") %>' />
            <br />
            user_phone:
            <asp:Label ID="user_phoneLabel" runat="server" 
                Text='<%# Eval("user_phone") %>' />
            <br />
            user_address:
            <asp:Label ID="user_addressLabel" runat="server" 
                Text='<%# Eval("user_address") %>' />
            <br />
            Email:
            <asp:Label ID="EmailLabel" runat="server" Text='<%# Eval("Email") %>' />
            <br />
            <br />
            </span>
        </SelectedItemTemplate>
    </asp:ListView>
    </div>
    </div>                             
    <br />
    </asp:Content>
